<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich">
	<body>
		<f:view>
	<h:form>
	 <rich:toolBar>
	 		<rich:menuItem submitMode="ajax" action="#{geralMB.toHome}" value="HOME">
				<f:facet name="icon">
					<h:graphicImage value="/imagens/file.png" />
				</f:facet>
				<a href="index.faces"></a>
			</rich:menuItem>
			<rich:dropDownMenu>
				<f:facet name="label">
					<h:panelGroup>
						<h:graphicImage value="/imagens/file.png" styleClass="pic" />
						<h:outputText value="   ENCOMENDAS" />
					</h:panelGroup>
				</f:facet>
				<rich:menuItem submitMode="ajax" value="MANTER ENCOMENDA"
					action="#{encomendaMB.toMantEncomenda}" icon="/imagens/file.png" />
				<rich:menuItem submitMode="ajax" value="REATIVAR ENCOMENDA"
					action="#{encomendaMB.toReatEncomenda}" icon="/imagens/file.png" />
				<rich:menuGroup value="RELATORIOS">
					<rich:menuItem submitMode="ajax" value="----------"
					action="#{encomendaMB.toRelEncomenda}">
						<f:facet name="icon">
							<h:graphicImage value="/imagens/file.png" />
						</f:facet>
					</rich:menuItem>
				</rich:menuGroup>
				<rich:menuSeparator id="menuSeparator11" />
				<rich:menuItem submitMode="ajax" value="Exit" />
			</rich:dropDownMenu>
			<rich:dropDownMenu>
				<f:facet name="label">
					<h:panelGroup>
						<h:graphicImage value="/imagens/file.png" styleClass="pic" />
						<h:outputText value="   FUNCIONÁRIOS" />
					</h:panelGroup>
				</f:facet>
				<rich:menuItem submitMode="ajax" value="MANTER FUNCIONÁRIO"
					action="#{funcionarioMB.toMantFuncionario}" icon="/imagens/file.png"/>
				<rich:menuItem submitMode="ajax" value="REATIVAR FUNCIONÁRIO"
					action="#{funcionarioMB.toReatFuncionario}" icon="/imagens/file.png"/>
				<rich:menuGroup value="---------">
					<rich:menuItem submitMode="ajax" value="Save All">
						<f:facet name="icon">
							<h:graphicImage value="/imagens/file.png" />
						</f:facet>
					</rich:menuItem>
				</rich:menuGroup>
			</rich:dropDownMenu>
			<rich:menuItem submitMode="ajax" value="SAIR">
				<f:facet name="icon">
					<h:graphicImage value="/imagens/file.png" />
				</f:facet>
				<a href="index.faces"></a>
			</rich:menuItem>
		</rich:toolBar>
	</h:form>
</f:view>
	</body>
</html>